﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dream
{
    class Program
    {
       // 3、蝙蝠战车的例子
        static void Main(string[] args)
        {

            BMW b = new BMW("宝马","750");
            b.Fire();
            Console.WriteLine("----------------");
            BMW M = new BMW("宝马", "X7");
            M.RunTest();
            Console.WriteLine("----------------");
            Batmobile B = new Batmobile("蝙蝠战车","第一代");
            B.RunTest();
            Console.WriteLine("----------------");
            Batmobile a = new Batmobile("蝙蝠战车", "第四代");
            a.Fly();
            Console.WriteLine("----------------");
        }
    }
}
